package sfeir.gwt.ergosum.client;

import sfeir.gwt.ergosum.client.model.Person;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface ClientApiAsync {
    void getUserProfile(AsyncCallback<Person> profile);
    void getProfile(String email, AsyncCallback<Person> profile);
    void createProfile(Person p, AsyncCallback<Long> id);
    void checkAlias(String alias, AsyncCallback<Boolean> check);
}
